import BaseService from './base'
import Vue from 'vue';

const api = {
  Auth: new BaseService('api-token-auth'),
  user: new BaseService('users'),
  groups: new BaseService('groups'),
  menus: new BaseService('menus'),
}

Vue.prototype.$api = api
export default api